using System;
using System.Runtime.Serialization;
namespace Sync.DAO{
	/********************************BEGIN SyncTablesEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:21/03/2011 24:09:58</para>
	/// <para>Class Name: SyncTablesEntityBase</para>
	/// <para>Description: ClassSyncTablesEntityBase store data of table SyncTables</para>
	///</summary>

	[DataContract]
	public  class SyncTablesEntityBase{


		private bool _InternalChangedIsNullSyncTable_ID=true;
		private bool _IsNullSyncTable_ID=true;
		private bool _InternalChangedIsNullSyncTableName=true;
		private bool _IsNullSyncTableName=true;
		private bool _IsNullOldSyncTable_ID=true;
		private int _SyncTable_ID;
		private string _SyncTableName;
		private int _OldSyncTable_ID;
		[DataMember]
		public bool IsNullSyncTable_ID{
			get{return _IsNullSyncTable_ID;}
			set{if(!_InternalChangedIsNullSyncTable_ID)_IsNullSyncTable_ID=value;}
		}
		[DataMember]
		public bool IsNullSyncTableName{
			get{return _IsNullSyncTableName;}
			set{if(!_InternalChangedIsNullSyncTableName)_IsNullSyncTableName=value;}
		}
		[DataMember]
		public bool IsNullOldSyncTable_ID{
			get{return _IsNullOldSyncTable_ID;}
			set{_IsNullOldSyncTable_ID=value;}
		}
		[DataMember]
		public int SyncTable_ID{
			get{return _SyncTable_ID;}
			set{
				_SyncTable_ID=value;
				if(_SyncTable_ID!=null){
					_IsNullSyncTable_ID=false;
					_InternalChangedIsNullSyncTable_ID=true;
				}
			}
		}
		[DataMember]
		public string SyncTableName{
			get{return _SyncTableName;}
			set{
				_SyncTableName=value;
				if(_SyncTableName!=null){
					_IsNullSyncTableName=false;
					_InternalChangedIsNullSyncTableName=true;
				}
			}
		}
		[DataMember]
		public int OldSyncTable_ID{
			get{return _OldSyncTable_ID;}
			set{
				_OldSyncTable_ID=value;
				IsNullOldSyncTable_ID=false;
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SyncTablesEntityBase*****************************************/
	/*****************************************************************************************************/
}

